package com.training.admin.visitor.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author wilson
 *
 */
@Component("configContextVisitor")
public class ConfigContextVisitor {

    @Value("#{config['cloud.path']}")
    private String cloudPath;
    
    @Value("#{ctx['ctx.root.domain']}")
    private String  ctxRootDomain;

	/**
	 * @return the cloudPath
	 */
	public String getCloudPath() {
		return cloudPath;
	}

	/**
	 * @return the ctxRootDomain
	 */
	public String getCtxRootDomain() {
		return ctxRootDomain;
	}
	
	
}
